<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>文章列表</title>
<link rel="stylesheet" href="/assets/layui/css/layui.css" media="all" />
</head>

<body>
	<div class="admin-main">
		<blockquote class="layui-elem-quote layui-quote-nm">
			<a class="layui-btn layui-btn-small layui-btn-normal" href="./article-add.html"> 
			  <i class="layui-icon">&#xe608;</i> 新增文章
			</a>
		</blockquote>
		<fieldset class="layui-elem-field">
			<legend>文章列表</legend>
			<div class="content-search">
			<form id="searchform" action="" class="layui-form">
              <div class="layui-inline">
                <select name="platformType">
                  <option value="admin">后台管理系统</option>
                </select>     
              </div>
              <div class="layui-inline">
                <input type="button" class="layui-btn layui-btn-normal J_search" lay-submit lay-filter="search" value="查询"/>    
              </div>                           
           </form>
		</div>
	    <div class="layui-field-box layui-form">
			<table class="layui-hide" id="tablecont" lay-filter="table"></table>
		</div>
		</fieldset>
	</div>
	<script type="text/html" id="auditTpl">
      <input type="checkbox" data-id="{{d.id}}" value="{{d.audited}}" lay-skin="switch" lay-text="是|否" {{ d.audited ? 'checked' : '' }} disabled>          
  </script>    
	<script type="text/html" id="toolBar">
      <a class="layui-btn {{#  if(d.enabled){ }}layui-btn-danger{{#  } else { }}layui-btn-warm{{#  } }} layui-btn-xs" lay-event="switch">{{#  if(d.enabled){ }}禁用{{#  } else { }}启用{{#  } }} </a>
      <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="edit">编辑</a>
      <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
    </script>
</body>
<script type="text/javascript" src="/assets/layui/layui.js"></script>
<script type="text/javascript" src="cms.js"></script>
<script>
var pageType = "list";
</script>
</html>